<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8"/>
    <title>login</title>
</head>
<body>
<h1>login</h1>
<form th:action="@{/login}" method="post">
    <input name="username" type="text"/>
    <input name="password" type="password"/>
    <button>登陆</button>
    <p th:if="${param.error}">param.error</p>
</form>
</body>
</html>